package com.example.taobao.data;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.BmobQuery;
import cn.bmob.v3.exception.BmobException;
import cn.bmob.v3.listener.QueryListener;
import cn.bmob.v3.listener.SaveListener;

public class userdata extends BmobObject {


    private String username;
    private String password;
    private String vipName;
    private String iphone;
    private String address;
    private Boolean LoginZt;

    public Boolean getLoginZt() {
        return LoginZt;
    }

    public void setLoginZt(Boolean loginZt) {
        LoginZt = loginZt;
    }

    public userdata(String username, String password, String vipName, String iphone, String address, Boolean loginZt) {
        this.username = username;
        this.password = password;
        this.vipName = vipName;
        this.iphone = iphone;
        this.address = address;
        LoginZt = loginZt;
    }


    public userdata() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getVipName() {
        return vipName;
    }

    public void setVipName(String vipName) {
        this.vipName = vipName;
    }

    public String getIphone() {
        return iphone;
    }

    public void setIphone(String iphone) {
        this.iphone = iphone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

//    BmobQuery<userdata> bmobQuery = new BmobQuery<userdata>();
//                    bmobQuery.getObject("6b6c11c537", new QueryListener<userdata>() {
//        @Override
//        public void done(userdata object, BmobException e) {
//            if(e==null){
//                toast("查询成功");
//            }else{
//                toast("查询失败：" + e.getMessage());
//            }
//        }
//    });


}
